Ext.MyWindow = Ext.extend(Ext.Window, {
			xtype : "window",
			title : "我的窗口",
			width : 764,
			height : 612,
			layout : "border",
			initComponent : function() {
				this.items = [{
					collapsible : true,
					title : 'Navigation',
					xtype : 'treepanel',
					width : 200,
					autoScroll : true,
					split : true,
					loader : new Ext.tree.TreeLoader(),
					root : new Ext.tree.AsyncTreeNode({
								expanded : true,
								children : [{
											text : 'Menu Option 1',
											leaf : true
										}, {
											text : 'Menu Option 2',
											leaf : true
										}, {
											text : 'Menu Option 3',
											leaf : true
										}]
							}),
					rootVisible : false,
					listeners : {
						click : function(n) {
							Ext.Msg.alert('Navigation Tree Click',
									'You clicked: "' + n.attributes.text + '"');
						}
					},

					region : "west"
				}, {
					xtype : "panel",
					title : "我的面板",
					region : "center"
				}]
				Ext.MyWindow.superclass.initComponent.call(this);
			}
		})
